package com.cpms;


import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 *
 * 启动类
 */

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
@SpringBootApplication
@MapperScan("com.cpms.web.mapper")
public class cpmsApplication {
    public static void main(String[] args) {
        try{
            SpringApplication.run(cpmsApplication.class,args);
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}

